
Testing /home/gc/test-n2p/nodejsTest/src/mock.js ... 请求的URL: http://172.16.17.64:8080/v1/mock/de_new2.php?v=8&ct=3&pid=d894b14893ac4bda81edaf8d424b25ba&w=32&h=48&uid=test1&mt=iPhone4&ns=1&ijb=0&pf=1&sv=&loc=&cn=&cot=12&admc=0&df=json_ext&did=test1
等待测试时间5s
请求的URL: http://172.16.17.64:8080/v1/mock/de_new2.php?v=8&ct=3&pid=d894b14893ac4bda81edaf8d424b25ba&w=32&h=48&mt=iPhone4&ns=1&ijb=0&pf=1&sv=&loc=&cn=&cot=12&admc=0&df=json_ext&did=test1
等待测试时间5s
done
Assertions:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃[36m Module                                 [39m┃[36m Test                                   [39m┃[36m Assertion                              [39m┃[36m Result [39m┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃ /v1/mock/de_new2.php                   ┃ 主页列表数据接口                               ┃ 返回值为JSON                               ┃ ok     ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃                                        ┃                                        ┃ 返回值不为空                                 ┃ ok     ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃                                        ┃                                        ┃ 数组的长度大于0                               ┃ ok     ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃                                        ┃                                        ┃ action字段在item中                         ┃ ok     ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃                                        ┃                                        ┃ ext.app.appid字段在item中                  ┃ ok     ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━┫
┃                                        ┃ 主页列表数据接口参数输入                           ┃ data != null 没有输入uid 应该有返回值            ┃ ok     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┛

Tests:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━┓
┃[36m Module                                 [39m┃[36m Test                                   [39m┃[36m Failed [39m┃[36m Passed [39m┃[36m Total  [39m┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━╋━━━━━━━━┫
┃ /v1/mock/de_new2.php                   ┃ 主页列表数据接口                               ┃ 0      ┃ 5      ┃ 5      ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━╋━━━━━━━━╋━━━━━━━━┫
┃                                        ┃ 主页列表数据接口参数输入                           ┃ 0      ┃ 1      ┃ 1      ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━┻━━━━━━━━┛

Summary:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┓
┃[36m File                                               [39m┃[36m Failed   [39m┃[36m Passed   [39m┃[36m Total    [39m┃[36m Runtime  [39m┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━┫
┃ /home/gc/test-n2p/nodejsTest/src/mock.js           ┃ 0        ┃ 6        ┃ 6        ┃ 10067    ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┛

Global summary:
┏━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃[36m Files      [39m┃[36m Tests      [39m┃[36m Assertions [39m┃[36m Failed     [39m┃[36m Passed     [39m┃[36m Runtime    [39m┃
┣━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━┫
┃ 1          ┃ 2          ┃ 6          ┃ 0          ┃ 6          ┃ 10067      ┃
┗━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┛
{ files: 1,
  assertions: 6,
  failed: 0,
  passed: 6,
  runtime: 10067,
  tests: 2 }
